﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ABC.Business.Models;
using ABC.Core.Configuration;
using ABC.Domain.Entities;

namespace ABC.Controllers.ViewModels.My.News
{
    public class NewsBaseViewModel : BaseViewModel
    {
        public List<Tag> Top10Tags { get; set; }
        
        public string CategoryNews { get; set; }

        public NewsBaseViewModel()
        {
            Top10Tags = new List<Tag>();
            var newsModel = IoC.Resolve<NewsModel>();
            Top10Tags = newsModel.GetTop10Tags();
        }
    }
}
